<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改学生信息</title>
</head>
<body>
<h1>动态修改学生信息</h1>
<form action="/updatestu" method="get">
    <input type="hidden" name="id" th:value="${student.id}"/>
    <table border="1" width="600px">
        <tr>
            <th>学号</th>
            <th>姓名</th>
            <th>性别</th>
            <th>年龄</th>
        </tr>
        <tr>
            <td th:text="${student.id}"></td>
            <td th:text="${student.studentname}"></td>
            <td th:text="${student.gender}"></td>
            <td th:text="${student.age}"></td>
        </tr>
        <tr>
            <td>修改内容</td>
            <td>
                <input type="text" name="studentname"/>
            </td>
            <td>
                <input type="radio" name="gender" value="男"/>男
                <input type="radio" name="gender" value="女"/>女
            </td>
            <td>
                <input type="text" name="age">
            </td>
        </tr>
    </table><br/>
    <input type="submit" value="修改"/>
</form>
</body>
</html>